package com.bang.sgg.persist.model;

import java.util.ArrayList;
import java.util.List;

public class AgentsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public AgentsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSystemIsNull() {
            addCriterion("`system` is null");
            return (Criteria) this;
        }

        public Criteria andSystemIsNotNull() {
            addCriterion("`system` is not null");
            return (Criteria) this;
        }

        public Criteria andSystemEqualTo(String value) {
            addCriterion("`system` =", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemNotEqualTo(String value) {
            addCriterion("`system` <>", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemGreaterThan(String value) {
            addCriterion("`system` >", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemGreaterThanOrEqualTo(String value) {
            addCriterion("`system` >=", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemLessThan(String value) {
            addCriterion("`system` <", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemLessThanOrEqualTo(String value) {
            addCriterion("`system` <=", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemLike(String value) {
            addCriterion("`system` like", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemNotLike(String value) {
            addCriterion("`system` not like", value, "system");
            return (Criteria) this;
        }

        public Criteria andSystemIn(List<String> values) {
            addCriterion("`system` in", values, "system");
            return (Criteria) this;
        }

        public Criteria andSystemNotIn(List<String> values) {
            addCriterion("`system` not in", values, "system");
            return (Criteria) this;
        }

        public Criteria andSystemBetween(String value1, String value2) {
            addCriterion("`system` between", value1, value2, "system");
            return (Criteria) this;
        }

        public Criteria andSystemNotBetween(String value1, String value2) {
            addCriterion("`system` not between", value1, value2, "system");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("`type` like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("`type` not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("`status` like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("`status` not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("`state` is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("`state` is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("`state` =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("`state` <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("`state` >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("`state` >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("`state` <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("`state` <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("`state` like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("`state` not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("`state` in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("`state` not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("`state` between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("`state` not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerIsNull() {
            addCriterion("max_no_answer is null");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerIsNotNull() {
            addCriterion("max_no_answer is not null");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerEqualTo(Integer value) {
            addCriterion("max_no_answer =", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerNotEqualTo(Integer value) {
            addCriterion("max_no_answer <>", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerGreaterThan(Integer value) {
            addCriterion("max_no_answer >", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_no_answer >=", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerLessThan(Integer value) {
            addCriterion("max_no_answer <", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerLessThanOrEqualTo(Integer value) {
            addCriterion("max_no_answer <=", value, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerIn(List<Integer> values) {
            addCriterion("max_no_answer in", values, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerNotIn(List<Integer> values) {
            addCriterion("max_no_answer not in", values, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerBetween(Integer value1, Integer value2) {
            addCriterion("max_no_answer between", value1, value2, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andMaxNoAnswerNotBetween(Integer value1, Integer value2) {
            addCriterion("max_no_answer not between", value1, value2, "maxNoAnswer");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeIsNull() {
            addCriterion("wrap_up_time is null");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeIsNotNull() {
            addCriterion("wrap_up_time is not null");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeEqualTo(Integer value) {
            addCriterion("wrap_up_time =", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeNotEqualTo(Integer value) {
            addCriterion("wrap_up_time <>", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeGreaterThan(Integer value) {
            addCriterion("wrap_up_time >", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("wrap_up_time >=", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeLessThan(Integer value) {
            addCriterion("wrap_up_time <", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeLessThanOrEqualTo(Integer value) {
            addCriterion("wrap_up_time <=", value, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeIn(List<Integer> values) {
            addCriterion("wrap_up_time in", values, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeNotIn(List<Integer> values) {
            addCriterion("wrap_up_time not in", values, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeBetween(Integer value1, Integer value2) {
            addCriterion("wrap_up_time between", value1, value2, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andWrapUpTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("wrap_up_time not between", value1, value2, "wrapUpTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeIsNull() {
            addCriterion("reject_delay_time is null");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeIsNotNull() {
            addCriterion("reject_delay_time is not null");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeEqualTo(Integer value) {
            addCriterion("reject_delay_time =", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeNotEqualTo(Integer value) {
            addCriterion("reject_delay_time <>", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeGreaterThan(Integer value) {
            addCriterion("reject_delay_time >", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("reject_delay_time >=", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeLessThan(Integer value) {
            addCriterion("reject_delay_time <", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeLessThanOrEqualTo(Integer value) {
            addCriterion("reject_delay_time <=", value, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeIn(List<Integer> values) {
            addCriterion("reject_delay_time in", values, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeNotIn(List<Integer> values) {
            addCriterion("reject_delay_time not in", values, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeBetween(Integer value1, Integer value2) {
            addCriterion("reject_delay_time between", value1, value2, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andRejectDelayTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("reject_delay_time not between", value1, value2, "rejectDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeIsNull() {
            addCriterion("busy_delay_time is null");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeIsNotNull() {
            addCriterion("busy_delay_time is not null");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeEqualTo(Integer value) {
            addCriterion("busy_delay_time =", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeNotEqualTo(Integer value) {
            addCriterion("busy_delay_time <>", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeGreaterThan(Integer value) {
            addCriterion("busy_delay_time >", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("busy_delay_time >=", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeLessThan(Integer value) {
            addCriterion("busy_delay_time <", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeLessThanOrEqualTo(Integer value) {
            addCriterion("busy_delay_time <=", value, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeIn(List<Integer> values) {
            addCriterion("busy_delay_time in", values, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeNotIn(List<Integer> values) {
            addCriterion("busy_delay_time not in", values, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeBetween(Integer value1, Integer value2) {
            addCriterion("busy_delay_time between", value1, value2, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andBusyDelayTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("busy_delay_time not between", value1, value2, "busyDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeIsNull() {
            addCriterion("no_answer_delay_time is null");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeIsNotNull() {
            addCriterion("no_answer_delay_time is not null");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeEqualTo(Integer value) {
            addCriterion("no_answer_delay_time =", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeNotEqualTo(Integer value) {
            addCriterion("no_answer_delay_time <>", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeGreaterThan(Integer value) {
            addCriterion("no_answer_delay_time >", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("no_answer_delay_time >=", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeLessThan(Integer value) {
            addCriterion("no_answer_delay_time <", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeLessThanOrEqualTo(Integer value) {
            addCriterion("no_answer_delay_time <=", value, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeIn(List<Integer> values) {
            addCriterion("no_answer_delay_time in", values, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeNotIn(List<Integer> values) {
            addCriterion("no_answer_delay_time not in", values, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeBetween(Integer value1, Integer value2) {
            addCriterion("no_answer_delay_time between", value1, value2, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andNoAnswerDelayTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("no_answer_delay_time not between", value1, value2, "noAnswerDelayTime");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartIsNull() {
            addCriterion("last_bridge_start is null");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartIsNotNull() {
            addCriterion("last_bridge_start is not null");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartEqualTo(Integer value) {
            addCriterion("last_bridge_start =", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartNotEqualTo(Integer value) {
            addCriterion("last_bridge_start <>", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartGreaterThan(Integer value) {
            addCriterion("last_bridge_start >", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_bridge_start >=", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartLessThan(Integer value) {
            addCriterion("last_bridge_start <", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartLessThanOrEqualTo(Integer value) {
            addCriterion("last_bridge_start <=", value, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartIn(List<Integer> values) {
            addCriterion("last_bridge_start in", values, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartNotIn(List<Integer> values) {
            addCriterion("last_bridge_start not in", values, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartBetween(Integer value1, Integer value2) {
            addCriterion("last_bridge_start between", value1, value2, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeStartNotBetween(Integer value1, Integer value2) {
            addCriterion("last_bridge_start not between", value1, value2, "lastBridgeStart");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndIsNull() {
            addCriterion("last_bridge_end is null");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndIsNotNull() {
            addCriterion("last_bridge_end is not null");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndEqualTo(Integer value) {
            addCriterion("last_bridge_end =", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndNotEqualTo(Integer value) {
            addCriterion("last_bridge_end <>", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndGreaterThan(Integer value) {
            addCriterion("last_bridge_end >", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_bridge_end >=", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndLessThan(Integer value) {
            addCriterion("last_bridge_end <", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndLessThanOrEqualTo(Integer value) {
            addCriterion("last_bridge_end <=", value, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndIn(List<Integer> values) {
            addCriterion("last_bridge_end in", values, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndNotIn(List<Integer> values) {
            addCriterion("last_bridge_end not in", values, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndBetween(Integer value1, Integer value2) {
            addCriterion("last_bridge_end between", value1, value2, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastBridgeEndNotBetween(Integer value1, Integer value2) {
            addCriterion("last_bridge_end not between", value1, value2, "lastBridgeEnd");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallIsNull() {
            addCriterion("last_offered_call is null");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallIsNotNull() {
            addCriterion("last_offered_call is not null");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallEqualTo(Integer value) {
            addCriterion("last_offered_call =", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallNotEqualTo(Integer value) {
            addCriterion("last_offered_call <>", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallGreaterThan(Integer value) {
            addCriterion("last_offered_call >", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_offered_call >=", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallLessThan(Integer value) {
            addCriterion("last_offered_call <", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallLessThanOrEqualTo(Integer value) {
            addCriterion("last_offered_call <=", value, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallIn(List<Integer> values) {
            addCriterion("last_offered_call in", values, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallNotIn(List<Integer> values) {
            addCriterion("last_offered_call not in", values, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallBetween(Integer value1, Integer value2) {
            addCriterion("last_offered_call between", value1, value2, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastOfferedCallNotBetween(Integer value1, Integer value2) {
            addCriterion("last_offered_call not between", value1, value2, "lastOfferedCall");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeIsNull() {
            addCriterion("last_status_change is null");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeIsNotNull() {
            addCriterion("last_status_change is not null");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeEqualTo(Integer value) {
            addCriterion("last_status_change =", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeNotEqualTo(Integer value) {
            addCriterion("last_status_change <>", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeGreaterThan(Integer value) {
            addCriterion("last_status_change >", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeGreaterThanOrEqualTo(Integer value) {
            addCriterion("last_status_change >=", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeLessThan(Integer value) {
            addCriterion("last_status_change <", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeLessThanOrEqualTo(Integer value) {
            addCriterion("last_status_change <=", value, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeIn(List<Integer> values) {
            addCriterion("last_status_change in", values, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeNotIn(List<Integer> values) {
            addCriterion("last_status_change not in", values, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeBetween(Integer value1, Integer value2) {
            addCriterion("last_status_change between", value1, value2, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andLastStatusChangeNotBetween(Integer value1, Integer value2) {
            addCriterion("last_status_change not between", value1, value2, "lastStatusChange");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountIsNull() {
            addCriterion("no_answer_count is null");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountIsNotNull() {
            addCriterion("no_answer_count is not null");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountEqualTo(Integer value) {
            addCriterion("no_answer_count =", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountNotEqualTo(Integer value) {
            addCriterion("no_answer_count <>", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountGreaterThan(Integer value) {
            addCriterion("no_answer_count >", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("no_answer_count >=", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountLessThan(Integer value) {
            addCriterion("no_answer_count <", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountLessThanOrEqualTo(Integer value) {
            addCriterion("no_answer_count <=", value, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountIn(List<Integer> values) {
            addCriterion("no_answer_count in", values, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountNotIn(List<Integer> values) {
            addCriterion("no_answer_count not in", values, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountBetween(Integer value1, Integer value2) {
            addCriterion("no_answer_count between", value1, value2, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andNoAnswerCountNotBetween(Integer value1, Integer value2) {
            addCriterion("no_answer_count not between", value1, value2, "noAnswerCount");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredIsNull() {
            addCriterion("calls_answered is null");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredIsNotNull() {
            addCriterion("calls_answered is not null");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredEqualTo(Integer value) {
            addCriterion("calls_answered =", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredNotEqualTo(Integer value) {
            addCriterion("calls_answered <>", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredGreaterThan(Integer value) {
            addCriterion("calls_answered >", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredGreaterThanOrEqualTo(Integer value) {
            addCriterion("calls_answered >=", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredLessThan(Integer value) {
            addCriterion("calls_answered <", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredLessThanOrEqualTo(Integer value) {
            addCriterion("calls_answered <=", value, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredIn(List<Integer> values) {
            addCriterion("calls_answered in", values, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredNotIn(List<Integer> values) {
            addCriterion("calls_answered not in", values, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredBetween(Integer value1, Integer value2) {
            addCriterion("calls_answered between", value1, value2, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andCallsAnsweredNotBetween(Integer value1, Integer value2) {
            addCriterion("calls_answered not between", value1, value2, "callsAnswered");
            return (Criteria) this;
        }

        public Criteria andTalkTimeIsNull() {
            addCriterion("talk_time is null");
            return (Criteria) this;
        }

        public Criteria andTalkTimeIsNotNull() {
            addCriterion("talk_time is not null");
            return (Criteria) this;
        }

        public Criteria andTalkTimeEqualTo(Integer value) {
            addCriterion("talk_time =", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeNotEqualTo(Integer value) {
            addCriterion("talk_time <>", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeGreaterThan(Integer value) {
            addCriterion("talk_time >", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("talk_time >=", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeLessThan(Integer value) {
            addCriterion("talk_time <", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeLessThanOrEqualTo(Integer value) {
            addCriterion("talk_time <=", value, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeIn(List<Integer> values) {
            addCriterion("talk_time in", values, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeNotIn(List<Integer> values) {
            addCriterion("talk_time not in", values, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeBetween(Integer value1, Integer value2) {
            addCriterion("talk_time between", value1, value2, "talkTime");
            return (Criteria) this;
        }

        public Criteria andTalkTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("talk_time not between", value1, value2, "talkTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeIsNull() {
            addCriterion("ready_time is null");
            return (Criteria) this;
        }

        public Criteria andReadyTimeIsNotNull() {
            addCriterion("ready_time is not null");
            return (Criteria) this;
        }

        public Criteria andReadyTimeEqualTo(Integer value) {
            addCriterion("ready_time =", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeNotEqualTo(Integer value) {
            addCriterion("ready_time <>", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeGreaterThan(Integer value) {
            addCriterion("ready_time >", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ready_time >=", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeLessThan(Integer value) {
            addCriterion("ready_time <", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeLessThanOrEqualTo(Integer value) {
            addCriterion("ready_time <=", value, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeIn(List<Integer> values) {
            addCriterion("ready_time in", values, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeNotIn(List<Integer> values) {
            addCriterion("ready_time not in", values, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeBetween(Integer value1, Integer value2) {
            addCriterion("ready_time between", value1, value2, "readyTime");
            return (Criteria) this;
        }

        public Criteria andReadyTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("ready_time not between", value1, value2, "readyTime");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountIsNull() {
            addCriterion("external_calls_count is null");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountIsNotNull() {
            addCriterion("external_calls_count is not null");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountEqualTo(Integer value) {
            addCriterion("external_calls_count =", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountNotEqualTo(Integer value) {
            addCriterion("external_calls_count <>", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountGreaterThan(Integer value) {
            addCriterion("external_calls_count >", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("external_calls_count >=", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountLessThan(Integer value) {
            addCriterion("external_calls_count <", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountLessThanOrEqualTo(Integer value) {
            addCriterion("external_calls_count <=", value, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountIn(List<Integer> values) {
            addCriterion("external_calls_count in", values, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountNotIn(List<Integer> values) {
            addCriterion("external_calls_count not in", values, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountBetween(Integer value1, Integer value2) {
            addCriterion("external_calls_count between", value1, value2, "externalCallsCount");
            return (Criteria) this;
        }

        public Criteria andExternalCallsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("external_calls_count not between", value1, value2, "externalCallsCount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}